﻿@section header
{
    <link href="~/Themes/RongJi/Style/base/css/login.css" rel="stylesheet">
}
@section title
{
用户注册
}
<div class="main-wrapper">
    <form action="~/Customer/Register" id="registerForm" method="post">
        <div class="item">
            <label>邮箱地址：</label>
            <input type="text" id="Email" name="Email" class="cmnTInput" placeholder="请输入有效的邮箱地址" />
            <span class="require">*</span>
        </div>
        <div class="item">
            <label>手机号码：</label>
            <input type="text" id="CellPhone" name="CellPhone" class="cmnTInput" placeholder="请输入正确的手机号码" />
            <span class="require">*</span>
        </div>
        <div class="item">
            <label>密码：</label>
            <input type="password" id="PassWord" name="PassWord" class="cmnTInput" placeholder="请输入密码" />
            <span class="require">*</span>
        </div>
        <div class="item">
            <label>验证码：</label>
            <input type="text" id="validCode" name="validCode" class="cmnTInput" placeholder="请输入正确的验证码" />
            <span class="require">*</span>
            <span id="validCodeResult" class="require"></span>
                           
        </div>
        <div class="item">
                <label></label>
            <label><img class="verifyCode-img" id="imgVerifyCode" width="100" height="40" /></label>
        </div>
        @if (Model.Result != null && !Model.Result.Status && Model.Result.ErrorMessage != null)
        {
            <div class="item">
                <label></label>
                <div class="error">@Model.Result.ErrorMessage</div>
            </div>
        }
        <div class="btnGroup">
            <input type="hidden" id="returnUrl" name="returnUrl" value="@Model.ReturnUrl" />
            <input type="submit" value="立即注册" class="rjbtn rjbtnGreen">
        </div>
        <div class="btnGroup">
            已经是蓉记鲜鲜鲜会员？<a href="~/Customer/Login">立即登录</a>
        </div>
    </form>
</div>
@section footer
{
    <script src="~/Themes/RongJi/Style/base/js/register.js"></script>
}
